import request from '/@/utils/request'

// 获取支付配置列表
export const payLists = (params?: any) => request.get('/setting/pay/lists', params);

// 切换支付渠道状态
export const payChange = (params?: any) => request.post('/setting/pay/change', params);

// 设置支付配置信息
export const payEdit = (params?: any) => request.post('/setting/pay/edit', params);

// 获取支付配置信息
export const payDetail = (params?: any) => request.get('/setting/pay/detail', params);